 .flip-card-container { perspective: 1000px; margin-bottom: 20px; }
  .flip-card {
    position: relative;
    width: 100%;
    height: 250px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
  }
  .flip-card.flipped { transform: rotateY(180deg); }
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  .flip-card-front {
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0);
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  }
  .flip-card-back {
    background: rgb(255, 255, 255);
    color: rgba(129, 130, 133, 1);
    transform: rotateY(180deg);
    padding: 20px;
  }
  .flip-card-front:hover { box-shadow: 0 8px 20px rgba(32, 191, 107, 0.5); }

  /* Sicherstellen, dass die Karten responsive sind */
.flip-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.flip-card {
  width: 100%;
  max-width: 350px;  /* Maximalgröße für mobile Ansicht */
  height: 300px; /* Feste Höhe für die Karten */
  perspective: 1000px; /* Perspektive für die Drehung */
  transition: all 0.3s ease;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
}

.flip-card-back {
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);  /* Heller Hintergrund für bessere Lesbarkeit */
  overflow-y: auto;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  /* Auf kleinen Geräten: Layout anpassen */
  .flip-card {
    width: 100%;
    height: auto;
    min-height: 250px;
  }

  .flip-card-back {
    padding: 15px;
    font-size: 14px;
  }
}